package com.slz3.business.module.configManagement.conZone.service;

import com.slz3.business.module.configManagement.conZone.domain.ConZone;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConZoneService {

    ConZone save(ConZone conZone);

    Page<ConZone> page(MultiValueMap<String,String> queryParams);

    ConZone modify(ConZone conZone);

    Optional<ConZone> single(UUID uuid);

    List<ConZone> findAllByUuids(Iterable<UUID> uuids);

    List<ConZone> delete(List<ConZone> conZoneList);
}
